package com.tica.it.itmanage.server.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tica.it.itmanage.core.domain.security.MenuEntity;
import com.tica.it.itmanage.core.domain.security.UserEntity;
import com.tica.it.itmanage.core.dto.RoleMenuDTO;
import com.tica.it.itmanage.core.dto.UserDetailDTO;

import java.util.List;

/**
 * @author hanbin
 */
public interface UserService extends IService<UserEntity> {

    /**
     * @param username
     * @return
     */
    public UserDetailDTO getUserDetail(String username);

    /**
     * @param username
     * @return
     */
    public RoleMenuDTO getPermissionByUsername(String username) ;

}
